package com.label.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.label.entity.Labels;
import com.baomidou.mybatisplus.extension.service.IService;
import com.label.entity.Patientlabels;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jianhua
 * @since 2022-03-27
 */
public interface LabelsService extends IService<Labels> {
    List<Labels> labelList();
    Page pageList(Page page, Labels labels);
    Labels getById(Integer id);
    List<Labels> getBytype(String type);
    boolean update(Labels labels);
    boolean saveOrUpdate(Labels labels);
    boolean updateById(Labels labels);
    Page getBykey(Page page,String key);
}
